{% extends "base.html" %} 
{% block title %} Wei's Web2.0 Lab -- Home{% endblock %} 
{% block navTab %}
	<li class="active"><a href="/" accesskey="1" title="">Home</a></li>
	<li><a href="http://weibloog.appspot.com" accesskey="2" title="" target="_blank">Blog</a></li>
	<li><a href="/gadgets" accesskey="3" title="">Gadgets</a></li>
	<li><a href="/photo" accesskey="4" title="">Photo Album</a></li>
	<li><a href="/about" accesskey="5" title="">About Me</a></li>
{% endblock %} 
{% block content %}
<div class="content span-15 colborder">
    {% if isAdminUser %}
    <div class="span-14 last">
    <a href="cover_article_handler?action=new">Add</a> | 
    <a href="cover_article_list">List</a>
    </div>
    {% endif %}
    {% for article in articleList %}
	<div id="home_article" class="span-14 last" style="margin-top:15px">
	{{article.content}}
	</div>
	{% if isAdminUser%}
	<div class="span-14 last">
    <a href="cover_article_handler?action=edit&article_id={{article.id}}">Edit</a> | 
    <a href="cover_article_handler?action=delete&article_id={{article.id}}">Delete</a>
    </div>
	{% endif %}
	{% endfor %}
</div>
<div class="sidebar span-7 append-1 last">
        <h2>Funny Gadgets Gallery</h2>
    <p>
        <a href="#">
            <img src="images/grafic2.gif" alt="grafic" class="rightimg" title="" height="80"
                width="80" /></a><a href="#">Nulla sit amet enim</a>. Nunc euismod, felis
        et adipiscing volutpat, mauris ligula lacinia lacus, ac accumsan pede lacus sed
        nulla. da visita.</p>
    <p>
        <a href="#">
            <img src="images/grafic4.gif" alt="grafic" class="rightimg" title="" height="80"
                width="80" /></a><a href="#">Nulla sit amet enim</a>. Nunc euismod, felis
        et adipiscing volutpat, mauris ligula lacinia lacus, ac accumsan pede lacus sed
        nulla. da visita.</p>
    <p>
        <a href="#">
            <img src="images/grafic3.gif" alt="grafic" class="rightimg" title="" height="80"
                width="80" /></a><a href="#">Nulla sit amet enim</a>. Nunc euismod, felis
        et adipiscing volutpat, mauris ligula lacinia lacus, ac accumsan pede lacus sed
        nulla. da visita.</p>
    <p>
        <a href="#">
            <img src="images/grafic.gif" alt="grafic" class="rightimg" title="" height="80" width="80" /></a><a
                href="#">Nulla sit amet enim</a>. Nunc euismod, felis et adipiscing volutpat,
        mauris ligula lacinia lacus, ac accumsan pede lacus sed nulla. da visita.</p>
    <p>
</div>
<!--end extra-->
{% endblock %} 